<ImportExportXml version="4.0.0.0" languagecode="1033" generatedBy="OnPremise">
  <Entities>
    <Entity>
      <Name LocalizedName="Audit" OriginalName="">custom_audit</Name>
      <ObjectTypeCode>10041</ObjectTypeCode>
      <EntityInfo>
        <entity Name="custom_audit">
          <HasRelatedNotes>False</HasRelatedNotes>
          <HasRelatedActivities>False</HasRelatedActivities>
          <ObjectTypeCode>10041</ObjectTypeCode>
          <CollectionName>custom_audits</CollectionName>
          <LogicalCollectionName>custom_audits</LogicalCollectionName>
          <BaseTableName>custom_auditBase</BaseTableName>
          <WorkflowEventMask>-1</WorkflowEventMask>
          <IsCustomizable>1</IsCustomizable>
          <IsMappable>1</IsMappable>
          <IsImportable>1</IsImportable>
          <OwnershipTypeMask>OrgOwned</OwnershipTypeMask>
          <IsAudited>1</IsAudited>
          <IsCustomEntity>1</IsCustomEntity>
          <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
          <ExtensionTableName>custom_auditExtensionBase</ExtensionTableName>
          <ReportViewName>Filteredcustom_audit</ReportViewName>
          <IsRenameable>1</IsRenameable>
          <CanTriggerWorkflow>1</CanTriggerWorkflow>
          <CanBeChildInCustomRelationship>1</CanBeChildInCustomRelationship>
          <CanBeInCustomEntityAssociation>1</CanBeInCustomEntityAssociation>
          <CanBeInCustomReflexiveRelationship>1</CanBeInCustomReflexiveRelationship>
          <IsMailMergeEnabled>1</IsMailMergeEnabled>
          <EntityClassName>Microsoft.Crm.Entities.CustomBusinessEntity</EntityClassName>
          <EntityAssembly>Microsoft.Crm.Entities</EntityAssembly>
          <ServiceClassName>Microsoft.Crm.ObjectModel.CustomBusinessEntityService</ServiceClassName>
          <ServiceAssembly>Microsoft.Crm.ObjectModel</ServiceAssembly>
          <WorkflowSupport>15</WorkflowSupport>
          <LocalizedNames>
            <LocalizedName description="Audit" languagecode="1033" />
          </LocalizedNames>
          <LocalizedCollectionNames>
            <LocalizedCollectionName description="Audit" languagecode="1033" />
          </LocalizedCollectionNames>
          <Descriptions>
            <Description description="" languagecode="1033" />
          </Descriptions>
          <attributes>
            <attribute PhysicalName="CreatedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who created the record." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupClass>SystemUsers</LookupClass>
              <LookupStyle>single</LookupStyle>
              <LookupTypes />
              <displaynames>
                <displayname description="User" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreatedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the record was created." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>datetime</Format>
              <displaynames>
                <displayname description="Date Logged" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_auditId">
              <Type>primarykey</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsPKAttribute>1</IsPKAttribute>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000032</AttributeTypeId>
              <DisplayMask>RequiredForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier for entity instances" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <displaynames>
                <displayname description="Audit" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_entity">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Entity" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_entity_label">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Entity Display Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_entityId">
              <Type>nvarchar</Type>
              <Length>100</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>50</MaxLength>
              <displaynames>
                <displayname description="Entity ID" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_message">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>required</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Message" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_name">
              <Type>nvarchar</Type>
              <Length>1000</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>PrimaryName|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="The name of the custom entity." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>500</MaxLength>
              <displaynames>
                <displayname description="Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_primary_attribute">
              <Type>nvarchar</Type>
              <Length>510</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>255</MaxLength>
              <displaynames>
                <displayname description="Primary Attribute" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DeletionStateCode">
              <Type>int</Type>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
            </attribute>
            <attribute PhysicalName="ImportSequenceNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <Descriptions>
                <Description description="Sequence number of the import that created this record." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <displaynames>
                <displayname description="Import Sequence Number" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who modified the record." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupClass>SystemUsers</LookupClass>
              <LookupStyle>single</LookupStyle>
              <LookupTypes />
              <displaynames>
                <displayname description="Modified By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the record was modified." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Modified On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OrganizationId">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>1019</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <Descriptions>
                <Description description="Unique identifier for the organization" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupTypes />
              <displaynames>
                <displayname description="Organization Id" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OverriddenCreatedOn">
              <Type>datetime</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time that the record was migrated." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Record Created On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statecode">
              <Type>state</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000036</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Status of the Audit" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <states>
                <state value="0" defaultstatus="1" invariantname="Active">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </state>
                <state value="1" defaultstatus="2" invariantname="Inactive">
                  <labels>
                    <label description="Inactive" languagecode="1033" />
                  </labels>
                </state>
              </states>
              <displaynames>
                <displayname description="Status" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statecodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>statecode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
            <attribute PhysicalName="statuscode">
              <Type>status</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000037</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Reason for the status of the Audit" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <statuses>
                <status value="1" state="0">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </status>
                <status value="2" state="1">
                  <labels>
                    <label description="Inactive" languagecode="1033" />
                  </labels>
                </status>
              </statuses>
              <displaynames>
                <displayname description="Status Reason" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statuscodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>statuscode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
            <attribute PhysicalName="TimeZoneRuleVersionNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="UTCConversionTimeZoneCode">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="VersionNumber">
              <Type>timestamp</Type>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000025</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
          </attributes>
        </entity>
      </EntityInfo>
      <FormXml id="{A9BC356C-D4D4-4DBC-B169-6BD0A10CA867}">
        <forms>
          <entity name="custom_audit" objecttypecode="10041">
            <form type="main" enablerelatedinformation="true" relatedInformationCollapsed="true" id="{356ba90e-63a1-46e6-b4bc-1708e228d247}">
              <tabs>
                <tab verticallayout="true" id="{249ff91a-8a57-4ea4-93c1-4d8c9fc6ba53}" IsUserDefined="1">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="true" showbar="true" IsUserDefined="0" id="{e2c9efab-abb8-458a-a3ab-6940f88b7e37}" locklevel="0" labelwidth="115">
                      <labels>
                        <label description="Audit Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{03d19d0e-b754-4be6-a996-f23354804be9}">
                            <labels>
                              <label description="Entity Display Name" languagecode="1033" />
                            </labels>
                            <control id="custom_entity_label" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="custom_entity_label" disabled="false" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{898dc655-497e-44e3-97e4-98bd56f2a6ae}">
                            <labels>
                              <label description="Entity" languagecode="1033" />
                            </labels>
                            <control id="custom_entity" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="custom_entity" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="2" id="{a3d3256f-8e8e-4754-b4f4-8551f0ee2298}">
                            <labels>
                              <label description="Message" languagecode="1033" />
                            </labels>
                            <control id="custom_message" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="custom_message" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" locklevel="0" id="{a0b144c8-257e-dd11-a7df-0003ff4578fe}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="User / Time Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{ce849604-b31a-424a-9c53-1e5d04891374}">
                            <labels>
                              <label description="User" languagecode="1033" />
                            </labels>
                            <control id="createdby" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="createdby" disabled="false">
                              <parameters>
                                <AutoResolve>true</AutoResolve>
                              </parameters>
                            </control>
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{8da2fe13-27d1-4dbf-8cde-cff145f32305}">
                            <labels>
                              <label description="Date Logged" languagecode="1033" />
                            </labels>
                            <control id="createdon" classid="{5B773807-9FB2-42db-97C3-7A91EFF8ADFF}" datafieldname="createdon" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" locklevel="0" id="{40db199f-337e-dd11-a7df-0003ff4578fe}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="Record Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="2" id="{af93ec29-aea6-4c5a-91aa-4532ac42d0f8}">
                            <labels>
                              <label description="Entity ID" languagecode="1033" />
                            </labels>
                            <control id="custom_entityid" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="custom_entityid" disabled="false" />
                          </cell>
                        </row>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="2" id="{96a85356-5396-438d-afe3-09441a5ef6c4}">
                            <labels>
                              <label description="Primary Attribute" languagecode="1033" />
                            </labels>
                            <control id="custom_primary_attribute" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="custom_primary_attribute" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
          <entity name="custom_audit" objecttypecode="10041">
            <form type="preview" id="{35ecf869-08c9-4e2c-b7cf-f89ec9af4b0d}">
              <tabs>
                <tab verticallayout="true" id="{6ea4e078-78f8-4bc6-8461-e27b08a213d6}" IsUserDefined="1">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="false" showbar="false" IsUserDefined="1" id="{bc6b2e71-9041-44a5-a459-b197e3229012}">
                      <labels>
                        <label description="Information" languagecode="1033" />
                      </labels>
                      <rows />
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
        </forms>
      </FormXml>
      <SavedQueries>
        <savedqueries entity="SavedQuery" morerecords="0" paging-cookie="" version="3.0">
          <savedquery>
            <iscustomizable name="Yes">1</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,041">10041</returnedtypecode>
            <savedqueryid>{23872486-49DC-482B-989E-DA871F823C8F}</savedqueryid>
            <savedqueryidunique>{2F695BBE-B655-45EF-8930-793D1CF8DFC7}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10041" jump="custom_name" select="1" icon="1" preview="1">
                <row name="result" id="custom_auditid">
                  <cell name="createdon" width="150" />
                  <cell name="custom_entity_label" width="125" />
                  <cell name="custom_message" width="125" />
                  <cell name="createdby" width="150" />
                  <cell name="custom_primary_attribute" width="300" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit">
                  <attribute name="createdon" />
                  <order attribute="createdon" descending="true" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <attribute name="createdby" />
                  <attribute name="custom_message" />
                  <attribute name="custom_primary_attribute" />
                  <attribute name="custom_entity_label" />
                  <attribute name="custom_auditid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Audit Entries" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,041">10041</returnedtypecode>
            <savedqueryid>{E7370090-260E-4CE3-A845-06261733B573}</savedqueryid>
            <savedqueryidunique>{AA01E736-E04E-4116-BB29-13AE85B40C59}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10041" jump="custom_name" select="1" icon="1" preview="1">
                <row name="result" id="custom_auditid">
                  <cell name="createdon" width="150" />
                  <cell name="custom_entity" width="150" />
                  <cell name="custom_message" width="125" />
                  <cell name="createdby" width="200" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="1">1</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit">
                  <attribute name="createdon" />
                  <order attribute="createdon" descending="true" />
                  <attribute name="createdby" />
                  <attribute name="custom_message" />
                  <attribute name="custom_entity" />
                  <attribute name="custom_auditid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Audit Advanced Find View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset version="3.0">
                <column>custom_message</column>
                <column>createdon</column>
                <column>createdby</column>
                <column>custom_auditid</column>
                <filter type="and">
                  <condition column="statecode" operator="eq" value="0" />
                </filter>
                <descend>createdon</descend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,041">10041</returnedtypecode>
            <savedqueryid>{10D3B983-2809-494F-A854-D425C3A4182F}</savedqueryid>
            <queryapi>AUTO</queryapi>
            <savedqueryidunique>{B74BE6B1-B234-41BC-9992-0BF37C8795C3}</savedqueryidunique>
            <layoutxml>
              <grid name="custom_audits" object="10041" jump="custom_name" select="1" icon="1" preview="1">
                <row name="custom_audit" id="custom_auditid">
                  <cell name="createdon" width="150" />
                  <cell name="custom_message" width="125" />
                  <cell name="createdby" width="300" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="2">2</querytype>
            <LocalizedNames>
              <LocalizedName description="Audit Associated View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="Yes">1</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,041">10041</returnedtypecode>
            <savedqueryid>{CA6D3603-8399-4538-ACE1-69FDD0D8040B}</savedqueryid>
            <savedqueryidunique>{1E6DCA1E-5E26-4568-B6B1-7E13454F2498}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10041" jump="custom_name" select="1" icon="1" preview="1">
                <row name="result" id="custom_auditid">
                  <cell name="createdon" width="150" />
                  <cell name="custom_message" width="125" />
                  <cell name="custom_entity" width="125" />
                  <cell name="createdby" width="200" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="4">4</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit">
                  <attribute name="createdon" />
                  <order attribute="createdon" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="createdby" operator="like" value="{0}" />
                    <condition attribute="custom_message" operator="like" value="{0}" />
                    <condition attribute="custom_entity" operator="like" value="{0}" />
                    <condition attribute="createdon" operator="on" value="{3}" />
                  </filter>
                  <attribute name="createdby" />
                  <attribute name="custom_message" />
                  <attribute name="custom_entity" />
                  <attribute name="custom_auditid" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Quick Find Active Audit" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>custom_name</column>
                <column>createdon</column>
                <ascend>custom_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,041">10041</returnedtypecode>
            <savedqueryid>{6BEA6AA5-6B1C-4F7F-A577-7BA69EAAD5F1}</savedqueryid>
            <savedqueryidunique>{B77B962C-F9BB-4DFC-B444-8F4EDDCF3712}</savedqueryidunique>
            <layoutxml>
              <grid name="custom_audits" object="10041" jump="custom_name" select="1" icon="1" preview="0">
                <row name="custom_audit" id="custom_auditid">
                  <cell name="custom_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="64">64</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit">
                  <attribute name="custom_auditid" />
                  <attribute name="custom_name" />
                  <attribute name="createdon" />
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="custom_name" operator="like" value="{0}" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Audit Lookup View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
        </savedqueries>
      </SavedQueries>
      <Icons>
        <Icon type="GridIcon">R0lGODlhEAAQAGYAACH5BAEAAAAALAAAAAAQABAApgEAAPfu68Kadc2+s/37+vC7jbVNAPjv7ffs5/v39vvZvfjn2/jq4/jo3vnl2Pjw7vr08rCkfvfv7P36+fLooNBuANCkb/vKn/zPp58yAPbgw/jq4pSQj8tnANGbg/TVR/rfzPnk1vreyfrbwPrgzPjn3fjm2bllN/nj0vnhz+KTK+7OuvXSiffs3Pnz8fnh0PrcxO66cvnj0/r18/ngzc9uAPrdxfzSrvreyuCCAPzUsd+0kM2JZvrbwalHEvrdx/rbwvvavvvYuvzQqfzUsvjv7PvWtuWJAPvXufzSr/zQqv3Note8laVMA/3Opui8lvvWt/vUs9qykac7AP3Knv7HlfvWtfG9kJmUlOivfNigoN+CAO21hAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeVgACCg4SDWFqFglmJTUyJXFVXhFNbhQUFVEsYT4IZFZYXTkpJUVBSAAZHhAVDN0RGQkFAPz45hDs6VkgKPTY4NDw1FoQCCiMwIiQvMisGMQgDxCApKCEmJScqAdvRgwIOCw0bHh0aBAncxAwILR8sBAQuAd3EAREUEwQQEvSFAhwPEsw40C+RgABFCCYyOG/hQgELAwEAOw==</Icon>
      </Icons>
    </Entity>
    <Entity>
      <Name LocalizedName="Audit Detail" OriginalName="">custom_audit_detail</Name>
      <ObjectTypeCode>10042</ObjectTypeCode>
      <EntityInfo>
        <entity Name="custom_audit_detail">
          <HasRelatedNotes>True</HasRelatedNotes>
          <HasRelatedActivities>False</HasRelatedActivities>
          <ObjectTypeCode>10042</ObjectTypeCode>
          <CollectionName>custom_audit_details</CollectionName>
          <LogicalCollectionName>custom_audit_details</LogicalCollectionName>
          <BaseTableName>custom_audit_detailBase</BaseTableName>
          <WorkflowEventMask>-1</WorkflowEventMask>
          <IsCustomizable>1</IsCustomizable>
          <IsMappable>1</IsMappable>
          <IsImportable>1</IsImportable>
          <OwnershipTypeMask>OrgOwned</OwnershipTypeMask>
          <IsAudited>1</IsAudited>
          <IsCustomEntity>1</IsCustomEntity>
          <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
          <ExtensionTableName>custom_audit_detailExtensionBase</ExtensionTableName>
          <ReportViewName>Filteredcustom_audit_detail</ReportViewName>
          <IsRenameable>1</IsRenameable>
          <CanTriggerWorkflow>1</CanTriggerWorkflow>
          <CanBeChildInCustomRelationship>1</CanBeChildInCustomRelationship>
          <CanBeInCustomEntityAssociation>1</CanBeInCustomEntityAssociation>
          <CanBeInCustomReflexiveRelationship>1</CanBeInCustomReflexiveRelationship>
          <IsMailMergeEnabled>1</IsMailMergeEnabled>
          <EntityClassName>Microsoft.Crm.Entities.CustomBusinessEntity</EntityClassName>
          <EntityAssembly>Microsoft.Crm.Entities</EntityAssembly>
          <ServiceClassName>Microsoft.Crm.ObjectModel.CustomBusinessEntityService</ServiceClassName>
          <ServiceAssembly>Microsoft.Crm.ObjectModel</ServiceAssembly>
          <WorkflowSupport>15</WorkflowSupport>
          <LocalizedNames>
            <LocalizedName description="Audit Detail" languagecode="1033" />
          </LocalizedNames>
          <LocalizedCollectionNames>
            <LocalizedCollectionName description="Audit Detail" languagecode="1033" />
          </LocalizedCollectionNames>
          <Descriptions>
            <Description description="" languagecode="1033" />
          </Descriptions>
          <attributes>
            <attribute PhysicalName="CreatedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who created the record." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupClass>SystemUsers</LookupClass>
              <LookupStyle>single</LookupStyle>
              <LookupTypes />
              <displaynames>
                <displayname description="System: User" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="CreatedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the record was created." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>datetime</Format>
              <displaynames>
                <displayname description="System: Logged Date" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_audit_detailId">
              <Type>primarykey</Type>
              <IsNullable>0</IsNullable>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsPKAttribute>1</IsPKAttribute>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000032</AttributeTypeId>
              <DisplayMask>RequiredForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier for entity instances" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <displaynames>
                <displayname description="Audit Detail" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_display_name">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Name: Display" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_name">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>PrimaryName|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="The name of the custom entity." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Name" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_new_value">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>textarea</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Value: Modified" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_original_value">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>textarea</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Value: Original" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="custom_schema_name">
              <Type>nvarchar</Type>
              <Length>200</Length>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <IsCustomField>1</IsCustomField>
              <AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>text</Format>
              <MaxLength>100</MaxLength>
              <displaynames>
                <displayname description="Name: Schema" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="DeletionStateCode">
              <Type>int</Type>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
            </attribute>
            <attribute PhysicalName="ImportSequenceNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <Descriptions>
                <Description description="Sequence number of the import that created this record." languagecode="1033" />
              </Descriptions>
              <ImeMode>disabled</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-2147483648</MinValue>
              <MaxValue>2147483647</MaxValue>
              <displaynames>
                <displayname description="Import Sequence Number" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedBy">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>8</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Unique identifier of the user who modified the record." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupClass>SystemUsers</LookupClass>
              <LookupStyle>single</LookupStyle>
              <LookupTypes />
              <displaynames>
                <displayname description="Modified By" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="ModifiedOn">
              <Type>datetime</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time when the record was modified." languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Modified On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OrganizationId">
              <Type>lookup</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <ReferencedEntityObjectTypeCode>1019</ReferencedEntityObjectTypeCode>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000031</AttributeTypeId>
              <Descriptions>
                <Description description="Unique identifier for the organization" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <LookupTypes />
              <displaynames>
                <displayname description="Organization Id" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="OverriddenCreatedOn">
              <Type>datetime</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000015</AttributeTypeId>
              <DisplayMask>ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Date and time that the record was migrated." languagecode="1033" />
              </Descriptions>
              <ImeMode>inactive</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format>date</Format>
              <displaynames>
                <displayname description="Record Created On" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statecode">
              <Type>state</Type>
              <IsNullable>0</IsNullable>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000036</AttributeTypeId>
              <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Status of the Audit Detail" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <states>
                <state value="0" defaultstatus="1" invariantname="Active">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </state>
                <state value="1" defaultstatus="2" invariantname="Inactive">
                  <labels>
                    <label description="Inactive" languagecode="1033" />
                  </labels>
                </state>
              </states>
              <displaynames>
                <displayname description="Status" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statecodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>statecode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
            <attribute PhysicalName="statuscode">
              <Type>status</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000037</AttributeTypeId>
              <DisplayMask>ValidForForm|ValidForGrid</DisplayMask>
              <Descriptions>
                <Description description="Reason for the status of the Audit Detail" languagecode="1033" />
              </Descriptions>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <statuses>
                <status value="1" state="0">
                  <labels>
                    <label description="Active" languagecode="1033" />
                  </labels>
                </status>
                <status value="2" state="1">
                  <labels>
                    <label description="Inactive" languagecode="1033" />
                  </labels>
                </status>
              </statuses>
              <displaynames>
                <displayname description="Status Reason" languagecode="1033" />
              </displaynames>
            </attribute>
            <attribute PhysicalName="statuscodeName">
              <Type>virtual</Type>
              <ValidForReadApi>1</ValidForReadApi>
              <IsLogical>1</IsLogical>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000033</AttributeTypeId>
              <AttributeOf>statuscode</AttributeOf>
              <XmlAbbreviation>name</XmlAbbreviation>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
            <attribute PhysicalName="TimeZoneRuleVersionNumber">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="UTCConversionTimeZoneCode">
              <Type>int</Type>
              <ValidForCreateApi>1</ValidForCreateApi>
              <ValidForUpdateApi>1</ValidForUpdateApi>
              <ValidForReadApi>1</ValidForReadApi>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000019</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
              <Format />
              <MinValue>-1</MinValue>
              <MaxValue>2147483647</MaxValue>
              <Accuracy>0</Accuracy>
            </attribute>
            <attribute PhysicalName="VersionNumber">
              <Type>timestamp</Type>
              <AttributeTypeId>00000000-0000-0000-00aa-110000000025</AttributeTypeId>
              <ImeMode>auto</ImeMode>
              <RequiredLevel>none</RequiredLevel>
            </attribute>
          </attributes>
        </entity>
      </EntityInfo>
      <FormXml id="{EC3740A3-4192-47D3-9126-A66B66B7A031}">
        <forms>
          <entity name="custom_audit_detail" objecttypecode="10042">
            <form type="main" enablerelatedinformation="true" relatedInformationCollapsed="true" id="{9deca79e-5b62-4581-8084-54cf2fc12b0d}">
              <tabs>
                <tab verticallayout="true" id="{9bb782bf-1b95-41fc-bfa2-6fead238d52a}" IsUserDefined="1">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="true" showbar="true" locklevel="0" id="{60c1e970-ef7e-dd11-a7df-0003ff4578fe}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="Attribute Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{b1c9b740-670d-4439-a916-ce70cc5ed5d9}">
                            <labels>
                              <label description="Display Name" languagecode="1033" />
                            </labels>
                            <control id="custom_display_name" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="custom_display_name" disabled="false" />
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{839b947a-e6d6-44a7-8bc9-39fd5b24a8aa}">
                            <labels>
                              <label description="Schema Name" languagecode="1033" />
                            </labels>
                            <control id="custom_schema_name" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="custom_schema_name" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" locklevel="0" id="{b03d9e4d-ef7e-dd11-a7df-0003ff4578fe}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="User / Time Information" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{181dc7d6-9219-4258-8e5f-cbc93b7a524a}">
                            <labels>
                              <label description="User" languagecode="1033" />
                            </labels>
                            <control id="createdby" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="createdby" disabled="false">
                              <parameters>
                                <AutoResolve>true</AutoResolve>
                              </parameters>
                            </control>
                          </cell>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{d7bd5e75-c519-4547-a4b9-4c68230ad82d}">
                            <labels>
                              <label description="Logged Date" languagecode="1033" />
                            </labels>
                            <control id="createdon" classid="{5B773807-9FB2-42db-97C3-7A91EFF8ADFF}" datafieldname="createdon" disabled="false" />
                          </cell>
                        </row>
                      </rows>
                    </section>
                    <section showlabel="true" showbar="true" locklevel="0" id="{c0eeae80-ef7e-dd11-a7df-0003ff4578fe}" IsUserDefined="1" layout="varwidth" columns="11" labelwidth="115">
                      <labels>
                        <label description="Data" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="3" colspan="2" id="{e353a4e0-1825-45cf-9817-ff23160501e0}">
                            <labels>
                              <label description="Original" languagecode="1033" />
                            </labels>
                            <control id="custom_original_value" classid="{E0DECE4B-6FC8-4a8f-A065-082708572369}" datafieldname="custom_original_value" disabled="false" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row>
                          <cell auto="false" showlabel="true" locklevel="0" rowspan="3" colspan="2" id="{19e9687d-b584-454c-917d-24809aba256e}">
                            <labels>
                              <label description="Modified" languagecode="1033" />
                            </labels>
                            <control id="custom_new_value" classid="{E0DECE4B-6FC8-4a8f-A065-082708572369}" datafieldname="custom_new_value" disabled="false" />
                          </cell>
                        </row>
                        <row />
                        <row />
                      </rows>
                    </section>
                  </sections>
                </tab>
                <tab id="{fd385dd0-39bc-4900-912e-dfff2b8490f9}" IsUserDefined="0">
                  <labels>
                    <label description="Notes" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="true" showbar="true" locklevel="1" id="{0359a334-2b99-467f-8454-c3341226d1ce}" IsUserDefined="0" height="auto">
                      <labels>
                        <label description="Notes" languagecode="1033" />
                      </labels>
                      <rows>
                        <row>
                          <cell colspan="2" showlabel="false" rowspan="5" auto="true" id="{80daa543-013b-4afa-8a42-dab090bc5343}">
                            <labels>
                              <label description="" languagecode="1033" />
                            </labels>
                            <control id="notescontrol" classid="{06375649-c143-495e-a496-c962e5b4488e}" />
                          </cell>
                        </row>
                        <row />
                        <row />
                        <row />
                        <row height="auto" />
                      </rows>
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
          <entity name="custom_audit_detail" objecttypecode="10042">
            <form type="preview" id="{77d6bd85-3ecb-44bc-93b0-ca4618c07d4a}">
              <tabs>
                <tab verticallayout="true" id="{14ee0d21-ae6a-4d69-98df-b7f2c7ae084e}" IsUserDefined="1">
                  <labels>
                    <label description="General" languagecode="1033" />
                  </labels>
                  <sections>
                    <section showlabel="false" showbar="false" IsUserDefined="1" id="{4ec094c8-d7c6-4e30-85a4-f63f0dde86db}">
                      <labels>
                        <label description="Information" languagecode="1033" />
                      </labels>
                      <rows />
                    </section>
                  </sections>
                </tab>
              </tabs>
            </form>
          </entity>
        </forms>
      </FormXml>
      <SavedQueries>
        <savedqueries entity="SavedQuery" morerecords="0" paging-cookie="" version="3.0">
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>custom_name</column>
                <column>createdon</column>
                <ascend>custom_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="Yes">1</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,042">10042</returnedtypecode>
            <savedqueryid>{F21F04DB-50DA-465E-BDA9-6496A9F94318}</savedqueryid>
            <savedqueryidunique>{A24A7B2E-DC7D-49ED-9D34-410AE3B0836C}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10042" jump="custom_name" select="1" icon="1" preview="1">
                <row name="result" id="custom_audit_detailid">
                  <cell name="custom_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit_detail">
                  <attribute name="custom_audit_detailid" />
                  <attribute name="custom_name" />
                  <attribute name="createdon" />
                  <order attribute="custom_name" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Active Audit Detail" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>custom_name</column>
                <column>createdon</column>
                <ascend>custom_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="Yes">1</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="No">0</isdefault>
            <returnedtypecode formattedvalue="10,042">10042</returnedtypecode>
            <savedqueryid>{B706F1FD-E28A-40FD-971B-7BEDB774D5C4}</savedqueryid>
            <savedqueryidunique>{BEBB7519-AB62-422A-BD62-E53942B68A16}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10042" jump="custom_name" select="1" icon="1" preview="1">
                <row name="result" id="custom_audit_detailid">
                  <cell name="custom_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="0">0</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit_detail">
                  <attribute name="custom_audit_detailid" />
                  <attribute name="custom_name" />
                  <attribute name="createdon" />
                  <order attribute="custom_name" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="1" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Inactive Audit Detail" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>custom_name</column>
                <column>createdon</column>
                <ascend>custom_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,042">10042</returnedtypecode>
            <savedqueryid>{9A1261F8-9831-497D-9CAC-87FFB82A8698}</savedqueryid>
            <savedqueryidunique>{48F6AFE7-C600-413D-ABA1-65D3A5570DE2}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10042" jump="custom_name" select="1" icon="1" preview="1">
                <row name="result" id="custom_audit_detailid">
                  <cell name="custom_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="1">1</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit_detail">
                  <attribute name="custom_audit_detailid" />
                  <attribute name="custom_name" />
                  <attribute name="createdon" />
                  <order attribute="custom_name" descending="false" />
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Audit Detail Advanced Find View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset version="3.0">
                <column>custom_original_value</column>
                <column>custom_schema_name</column>
                <column>custom_display_name</column>
                <column>custom_new_value</column>
                <column>custom_audit_detailid</column>
                <filter type="and">
                  <condition column="statecode" operator="eq" value="0" />
                </filter>
                <ascend>custom_schema_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,042">10042</returnedtypecode>
            <savedqueryid>{429C426A-A153-4ACD-90B9-B29E4EB318D9}</savedqueryid>
            <queryapi>AUTO</queryapi>
            <savedqueryidunique>{B11FCCB3-511C-4E4F-B5DF-EF972BCF4B32}</savedqueryidunique>
            <layoutxml>
              <grid name="custom_audit_details" object="10042" jump="custom_name" select="1" icon="1" preview="1">
                <row name="custom_audit_detail" id="custom_audit_detailid">
                  <cell name="custom_schema_name" width="125" />
                  <cell name="custom_display_name" width="150" />
                  <cell name="custom_original_value" width="200" />
                  <cell name="custom_new_value" width="200" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="2">2</querytype>
            <LocalizedNames>
              <LocalizedName description="Audit Detail Associated View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>custom_name</column>
                <column>createdon</column>
                <ascend>custom_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="Yes">1</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,042">10042</returnedtypecode>
            <savedqueryid>{6BDFFCC2-1B84-42DD-BFD4-69631A155D0E}</savedqueryid>
            <savedqueryidunique>{5E35B9A2-5988-4909-80AD-927A0D0EF0B9}</savedqueryidunique>
            <layoutxml>
              <grid name="resultset" object="10042" jump="custom_name" select="1" icon="1" preview="1">
                <row name="result" id="custom_audit_detailid">
                  <cell name="custom_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="4">4</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit_detail">
                  <attribute name="custom_audit_detailid" />
                  <attribute name="custom_name" />
                  <attribute name="createdon" />
                  <order attribute="custom_name" descending="false" />
                  <filter type="and">
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="custom_name" operator="like" value="{0}" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Quick Find Active Audit Detail" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
          <savedquery>
            <columnsetxml>
              <columnset>
                <column>custom_name</column>
                <column>createdon</column>
                <ascend>custom_name</ascend>
              </columnset>
            </columnsetxml>
            <iscustomizable name="No">0</iscustomizable>
            <isquickfindquery name="No">0</isquickfindquery>
            <isuserdefined name="Yes">1</isuserdefined>
            <isprivate>0</isprivate>
            <isdefault name="Yes">1</isdefault>
            <returnedtypecode formattedvalue="10,042">10042</returnedtypecode>
            <savedqueryid>{B20FF465-BDCC-41CA-951D-2568E766805F}</savedqueryid>
            <savedqueryidunique>{46E922ED-D135-49AF-8827-5ACF6DA2ED68}</savedqueryidunique>
            <layoutxml>
              <grid name="custom_audit_details" object="10042" jump="custom_name" select="1" icon="1" preview="0">
                <row name="custom_audit_detail" id="custom_audit_detailid">
                  <cell name="custom_name" width="300" />
                  <cell name="createdon" width="125" />
                </row>
              </grid>
            </layoutxml>
            <customizationlevel formattedvalue="1">1</customizationlevel>
            <querytype formattedvalue="64">64</querytype>
            <fetchxml>
              <fetch version="1.0" mapping="logical">
                <entity name="custom_audit_detail">
                  <attribute name="custom_audit_detailid" />
                  <attribute name="custom_name" />
                  <attribute name="createdon" />
                  <filter type="or" isquickfindfields="1">
                    <condition attribute="custom_name" operator="like" value="{0}" />
                  </filter>
                </entity>
              </fetch>
            </fetchxml>
            <LocalizedNames>
              <LocalizedName description="Audit Detail Lookup View" languagecode="1033" />
            </LocalizedNames>
          </savedquery>
        </savedqueries>
      </SavedQueries>
      <Icons>
        <Icon type="GridIcon">R0lGODlhEAAQAGYAACH5BAEAAAAALAAAAAAQABAApgEAAL2tn/fu6+CqeOmzhb1YAObIsP78/Pjx7+Gnp9+BAPjw7dLPwPzut/r1883BvPjv7M7Kyc7Evp2WkvrjU/bu6vv39fTs5vfu6tvW1ODY1cm7sd6SJPfv7Prs2tfEuN2yZefHtvDd0OGWMeXPvvXt6fLn4bhgK/ft6erUxPPg0urRve/h2evOuPTezu/Ww+XLtuS3guvOtubIr8W0pdnBr9V6D7hdJvTaxebFrOvLsvTbyak+AP3No8eumfvXuMy0oMGunOfCpffQruzKr+zIqvDSu8KokOLErN64mfzRrda3neKEAOi6ldNyAPfOrPrbwezHp/Pn4e/j28yLavPLqPzQquzEpf7Hl69WCJ8yAPzPpv3Nou3Doei7l+2+mP3Ln/3JmwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAekgACCgwADhIMJhwMDWIaEWYmDBGFgPY6CPEyEBFxbX01PjlpOkgRWVV5dV1FQhgUKggRKQ0tHSUVCREY4N7CCAT8+QEFIOjk7BlQ2lwABNTQzMgYuMCEFMQLMAS0vKyopKCcjJSwmlwEiJBIfGCAcHhdTAgIBgwFSGhkbFA0HFQv0DgUQEGECgwMWEAQ81KzDgwUOFNZj+GsehIUUK2LM+GsioUAAOw==</Icon>
      </Icons>
    </Entity>
  </Entities>
  <Roles>
  </Roles>
  <Workflows>
  </Workflows>
  <EntityMaps>
    <EntityMap>
      <EntitySource>custom_audit</EntitySource>
      <EntityTarget>custom_audit_detail</EntityTarget>
      <AttributeMaps />
    </EntityMap>
  </EntityMaps>
  <EntityRelationships>
    <EntityRelationship Name="lk_custom_audit_createdby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>custom_audit</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>createdby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who created the record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="createdby" requiredlevel="none" imemode="auto" lookupclass="SystemUsers" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="User" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lk_custom_audit_modifiedby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>custom_audit</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>modifiedby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who modified the record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="modifiedby" requiredlevel="none" imemode="auto" lookupclass="SystemUsers" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Modified By" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="organization_custom_audit">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>custom_audit</ReferencingEntityName>
      <ReferencedEntityName>Organization</ReferencedEntityName>
      <ReferencingAttributeName>organizationid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for the organization" languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="organizationid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Organization Id" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="custom_audit_AsyncOperations">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>AsyncOperation</ReferencingEntityName>
      <ReferencedEntityName>custom_audit</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the system job is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="custom_audit_BulkDeleteFailures">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>BulkDeleteFailure</ReferencingEntityName>
      <ReferencedEntityName>custom_audit</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the record that can not be deleted." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Name" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lk_custom_audit_detail_createdby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>custom_audit_detail</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>createdby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who created the record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="createdby" requiredlevel="none" imemode="auto" lookupclass="SystemUsers" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="System: User" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="lk_custom_audit_detail_modifiedby">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>custom_audit_detail</ReferencingEntityName>
      <ReferencedEntityName>SystemUser</ReferencedEntityName>
      <ReferencingAttributeName>modifiedby</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the user who modified the record." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="modifiedby" requiredlevel="none" imemode="auto" lookupclass="SystemUsers" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Modified By" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="organization_custom_audit_detail">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>custom_audit_detail</ReferencingEntityName>
      <ReferencedEntityName>Organization</ReferencedEntityName>
      <ReferencingAttributeName>organizationid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for the organization" languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="organizationid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Organization Id" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="custom_audit_detail_Annotations">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>Annotation</ReferencingEntityName>
      <ReferencedEntityName>custom_audit_detail</ReferencedEntityName>
      <ReferencingAttributeName>objectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the note is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="objectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="custom_audit_detail_AsyncOperations">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>AsyncOperation</ReferencingEntityName>
      <ReferencedEntityName>custom_audit_detail</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the object with which the system job is associated." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupclass="ActivityRegarding" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="custom_audit_detail_BulkDeleteFailures">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>BulkDeleteFailure</ReferencingEntityName>
      <ReferencedEntityName>custom_audit_detail</ReferencedEntityName>
      <ReferencingAttributeName>regardingobjectid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier of the record that can not be deleted." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="regardingobjectid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0" format="regarding">
        <displaynames>
          <displayname description="Name" languagecode="1033" />
        </displaynames>
      </field>
    </EntityRelationship>
    <EntityRelationship Name="custom_custom_audit_custom_audit_detail">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <ReferencingEntityName>custom_audit_detail</ReferencingEntityName>
      <ReferencedEntityName>custom_audit</ReferencedEntityName>
      <CascadeAssign>Cascade</CascadeAssign>
      <CascadeDelete>Cascade</CascadeDelete>
      <CascadeReparent>Cascade</CascadeReparent>
      <CascadeShare>Cascade</CascadeShare>
      <CascadeUnshare>Cascade</CascadeUnshare>
      <ReferencingAttributeName>custom_auditid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for Audit associated with Audit Detail." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="custom_auditid" requiredlevel="none" imemode="auto" lookupstyle="single" lookupbrowse="0">
        <displaynames>
          <displayname description="Parent Audit" languagecode="1033" />
        </displaynames>
      </field>
      <EntityRelationshipRoles>
        <EntityRelationshipRole>
          <NavPaneDisplayOption>UseLabel</NavPaneDisplayOption>
          <NavPaneArea>Details</NavPaneArea>
          <NavPaneOrder>10000</NavPaneOrder>
          <CustomLabels>
            <CustomLabel description="Field Level Changes" languagecode="1033" />
          </CustomLabels>
        </EntityRelationshipRole>
      </EntityRelationshipRoles>
    </EntityRelationship>
  </EntityRelationships>
  <Languages>
    <Language>1033</Language>
  </Languages>
</ImportExportXml>